cmake_minimum_required(VERSION 3.10)
project(AlgoPerf)

set(CXX_STANDARD 17)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=native")

find_package(OpenCV REQUIRED)
if(OpenCV_FOUND)
    message(STATUS "OpenCV found!")
    message(STATUS "OpenCV_INCLUDE_DIR=${OpenCV_INCLUDE_DIRS}")
    message(STATUS "OpenCV_LIBS=${OpenCV_LIBS}")
else()
    message(STATUS "OpenCV not found!!!")
endif()


add_subdirectory(avx2)
